package Class.obj.field.exer3;

public class CircleTest {
    public static void main(String[] args) {
        double area;
        Circle circle = new Circle();
        circle.setRadius(2.54);
        area = 3.14 * circle.getRadius() * circle.getRadius();
        System.out.println("圆的面积是" + area);
    }
}
